BufferConfig

data class BufferConfig(audioAndVideo: BufferMediaTypeConfig, startupThreshold: Double, restartThreshold: Double) : Parcelable

Configures buffer settings for media types defined in MediaType.

Constructors

BufferConfig
Link copied to clipboard
fun BufferConfig(audioAndVideo: BufferMediaTypeConfig = BufferMediaTypeConfig(), startupThreshold: Double = 2.5, restartThreshold: Double = 5.0)

Properties

audioAndVideo
Link copied to clipboard
var audioAndVideo: BufferMediaTypeConfig
Configures various settings for the video and audio buffers.
restartThreshold
Link copied to clipboard
var restartThreshold: Double = 5.0
Amount of seconds the player buffers before playback starts again after a stall.
startupThreshold
Link copied to clipboard
var startupThreshold: Double = 2.5
Amount of seconds the player buffers before playback starts.

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)